package com.cheerful.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cheerful.blog.entity.Category;
import com.cheerful.blog.to.CategoryVo;

import java.util.List;

/**
 * (Category)表服务接口
 *
 * @author makejava
 * @since 2022-02-07 13:15:03
 */
public interface CategoryService extends IService<Category> {
    /**
     * 获取所有分类，以及其各个数量
     * @return
     */
    List<CategoryVo> listWithCount();
}

